package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentCheckDetailParam;
import com.mxpioframework.system.service.BaseService;

import java.util.List;

/**
 * @Description: 点检明细选项
 * @Author: MxpIO
 * @Date:   2021-09-15
 * @Version: V1.0
 */
public interface EquipmentCheckDetailParamService extends BaseService<EquipmentCheckDetailParam> {

    /**
     * 根据明细id删除
     * @param mainId
     */
    public void deleteByMainId(String mainId);

    /**
     * 根据明细id批量删除
     * @param mainIds
     */
    public void deleteByMainIds(List<String> mainIds);


    /**
     * 根据明细id获取选项列表
     * @param mainId
     * @return
     */
    public List<EquipmentCheckDetailParam> selectByMainId(String mainId);
}
